package com.education.service.task;

import org.springframework.stereotype.Component;

/**
 * @Author: dongyaoyao
 * @CreateTime: 2024-08-06
 * @Description:
 * @Version: 1.0
 */

@Component
public class LogTaskListener implements TaskListener{

    @Override
    public void onMessage(TaskParam taskParam) {
        System.out.println(Thread.currentThread().getName()+"执行LogTaskListener:"+taskParam.getData());
    }
}
